BaltechScript / IfProtocolEnabled Protocol Frame

Check if Protocol is currently active. If this is the case, True is pushed into the top of the condition stack. Otherwise False is pushed into the top of the condition stack.

Properties

Format

Name Type/Size Description
Protocol Enumeration (8 bits)

A list of all protocols.

Not all protocols are available on all Firmware variants.
Values:
  • BrpSerial (0x03)
    BRP protocol over RS-232/UART. This protocol has also to be used if the USB-virtual-comport-emulation is used.
  • BrpRs485 (0x04)
    BRP protocol over RS485 connection. Is used for long distances or when needing multiple devices on a single host.
  • BrpHid (0x05)
    BRP protocol over HID (Human Interface Device) Protocol. This is a standard USB Protocol with drivers for all OSes.
  • BrpTcp (0x86)
    BRP protocol over TCP/IP.
  • DebugInterface (0x09)
    The debug interface may be used to look into the readers internals via a Terminal. Works over RS-232/UART or virtual-comport-emulation.
  • RawSerial (0x23)
    This is a autoread protocol that sends the ID read by autoread mode without any protocol overhead. Works over RS-232/UART or virtual-comport-emulation.
  • Wiegand (0x20)
    This is a autoread protocol that sends the ID read by autoread mode via Wiegand protocol.
  • KeyboardEmulation (0x2B)
    USB devices will register as keyboard if this value is active. When the autoread mode detected an ID it will be send by emulating keypresses.
  • LowLevelIoPorts (0x24)

    configures the pins which are usually used by the Wiegand / RawSerial /... protocol as I/O Ports that can be controlled via scripts.

    I/O Port physical pin
    Gpio5 TX of RawSerial protocol
    Gpio6 direction line on RS485 protocols
    Gpio7 RX pin of RawSerial protocol
  • ClkData (0x22)
  • Omron (0x21)
  • Snet (0x10)
  • Bpa9 (0x11)
  • Ccid (0x36)
    Chip Card Interface Device (CCID). USB protocol that allows a smartcard to be connected to a computer via a card reader using a standard USB interface.
  • RawSerial2 (0x37)
    This is a second autoread protocol that sends the ID read by autoread mode without any protocol overhead.
  • Osdp (0x38)
    Open Supervised Standard Protocol. New Protocol Standard used for long distances or when needing multiple devices on a single host.
  • BleHci (0x3B)
    BLE HCI Protocol. USB protocol that allows the BLE component to be controlled via Host Controller Interface (HCI) as specified in the Bluetooth Core Specification.